Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 18 - QuickDraw 3D Pointing Device Manager / QuickDraw 3D Pointing Device Manager Reference
QuickDraw 3D Pointing Device Manager Routines / Creating and Managing Trackers


Q3Tracker_MovePosition

You can use the Q3Tracker_MovePosition function to move the position of a tracker relative to its current position.

TQ3Status Q3Tracker_MovePosition (
TQ3TrackerObject trackerObject, 
TQ3ControllerRef controllerRef, 
const TQ3Vector3D *delta);
trackerObject
A tracker object.
controllerRef
A reference to a controller.
delta
The desired change in position of the specified tracker.
DESCRIPTION
The Q3Tracker_MovePosition function adds the value specified by the delta parameter to the position of the tracker specified by the trackerObject and controllerRef parameters. If the specified tracker is inactive, Q3Tracker_MovePosition has no effect.

Note
Calling Q3Tracker_MovePosition might cause the notify function of the tracker to be called.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996